<template>
  <app-page>
    <div class="scheme_index" v-loading="store.state.schemeloading">
      <SchemeHeader />
      <div style="width: 100%; height: calc(100% - 266px); padding: 24px 24px 24px 24px">
        <List />
      </div>
      <SchemeFooter />
    </div>
  </app-page>
</template>

<script setup>
import { http } from '@/utils/http'
import SchemeHeader from './components/SchemeHeader.vue'
import SchemeFooter from './components/SchemeFooter.vue'
import List from './components/List.vue'

import { useSchemeStore } from './scheme-store.js'

const store = useSchemeStore()

provide('Scheme', {
  store,
  state: store.state,
})
</script>

<style lang="scss" scoped>
.scheme_index {
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  flex-direction: column;
}
</style>